﻿using System;

namespace Itour.Models
{
    [Serializable]
    public class OperatorLoginData
    {
        /// <summary>
        /// 操作员ID
        /// </summary>
        public int OperatorID{set;get;}

        /// <summary>
        /// 登录名
        /// </summary>
        public string OperatorName { set; get; }

        /// <summary>
        /// 登录密码
        /// </summary>
        public string Password { set; get; }

        public string NewPassword { set; get; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string DisplayName { set; get; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public int RoleID{set;get;}

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { set; get; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool Enabled{set;get;}

        /// <summary>
        /// 是否有预付款权限
        /// </summary>
        public bool EnableUseAdvance{set;get;}

        public int AddOperatorId{set;get;}

        /// <summary>
        /// 预付款帐号密码
        /// </summary>
        public string AdvancePassword{set;get;}

        public string AdvancePasswordNew{set;get;}

        public bool IsShowInfo{set;get;}

        /// <summary>
        /// 客户简称
        /// </summary>
        public string ClientShortName{set;get;}

        /// <summary>
        /// 客户ID
        /// </summary>
        public int ClientID { set; get; }

        /// <summary>
        /// 上级客户ID
        /// </summary>
        public int ParentClientID{set;get;}

        /// <summary>
        /// 城市编码
        /// </summary>
        public string CityCode{set;get;}

        /// <summary>
        /// 平台ID
        /// </summary>
        public int PlatformID{set;get;}

        /// <summary>
        /// 是否有效
        /// </summary>
        public bool IsValid { set; get; }

        public decimal InvoiceRate { set; get; }

        /// <summary>
        /// 客户类型
        /// 0 采购商
        /// 1 供应商
        /// 2 运营商
        /// </summary>
        public int ClientTypeID { set; get; }

        /// <summary>
        /// 上级加收
        /// </summary>
        public decimal InterAddMoney { set; get; }

        /// <summary>
        /// 添加外部订单权限
        /// </summary>
        public bool EnableAddOutOrder { set; get; }
    }
}